package com.lln.service.impl;

import com.lln.mapper.EmployeeMapper;
import com.lln.pojo.po.EmployeePo;
import com.lln.service.EmployeeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class EmployeeServiceImpl implements EmployeeService {
    @Autowired
    private EmployeeMapper employeeMapper;

    @Override
    public List<EmployeePo> findAll() {
        return employeeMapper.findAll();
    }

    @Override
    public EmployeePo findById(Integer id) {
        return employeeMapper.findById(id);
    }
}
